package com.moyq5.mvc.maker.test.bean.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicUpdate;

/**
 * 银行类型
 * 
 * @author Moyq5
 * @date 2018年6月5日
 */
@Entity
@Table(name = "sys_bank_head")
@DynamicUpdate
public class SysBankHead implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7732835720702016871L;
	/**
	 * 联行号
	 */
	@Id
    @Column(name = "head_no")
	private Long headNo;
	
	/**
	 * 银行名称
	 */
    @Column(name = "head_name", length = 120, nullable = false)
	private String headName;

	public Long getHeadNo() {
		return headNo;
	}

	public void setHeadNo(Long headNo) {
		this.headNo = headNo;
	}

	public String getHeadName() {
		return headName;
	}

	public void setHeadName(String headName) {
		this.headName = headName;
	}
}
